<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="generator" content="ApiGen 2.8.0" />

	<title>Class REST_Controller | DOCUMENTAÇÃO DE SOFTWARE</title>

	<script type="text/javascript" src="resources/combined.js?882970337"></script>
	<script type="text/javascript" src="elementlist.js?3011337023"></script>
	<link rel="stylesheet" type="text/css" media="all" href="resources/bootstrap.min.css?260161822" />
	<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?2015443609" />

</head>

<body>
	<div id="navigation" class="navbar navbar-fixed-top">
		<div class="navbar-inner">
			<div class="container">
				<a href="index.html" class="brand">DOCUMENTAÇÃO DE SOFTWARE</a>
				<div class="nav-collapse">
					<ul class="nav">
						<li>
							<a href="namespace-None.html" title="Summary of None"><span>Namespace</span></a>
						</li>
						<li class="active">
<span>Class</span>						</li>

						<li class="divider-vertical"></li>

						<li>
							<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
						</li>


					</ul>
				</div>
			</div>
		</div>
	</div>

	<div id="left">
	<div id="menu">
		<form id="search" class="form-search">
			<input type="hidden" name="cx" value="" />
			<input type="hidden" name="ie" value="UTF-8" />
			<input type="text" name="q" class="search-query" placeholder="Search" />
		</form>


		<div id="groups">
			<h3>Namespaces</h3>
			<ul>
				<li class="active"><a href="namespace-None.html">None</a>
						</li>
				<li><a href="namespace-OpenBoleto.html">OpenBoleto<span></span></a>
						<ul>
				<li><a href="namespace-OpenBoleto.Banco.html">Banco</a>
						</li>
							</ul></li>
				<li><a href="namespace-PHP.html">PHP</a>
						</li>
			</ul>
		</div>


		<div id="elements">
			<h3>Classes</h3>
			<ul>
				<li><a href="class-Actions.html">Actions</a></li>
				<li><a href="class-Administrator.html">Administrator</a></li>
				<li><a href="class-AngularForm.html">AngularForm</a></li>
				<li><a href="class-Api.html">Api</a></li>
				<li><a href="class-Boleto.html">Boleto</a></li>
				<li><a href="class-Boleto_Bradesco.html">Boleto_Bradesco</a></li>
				<li><a href="class-Boletos_Layout.html">Boletos_Layout</a></li>
				<li><a href="class-CI_Session.html">CI_Session</a></li>
				<li><a href="class-CSVReader.html">CSVReader</a></li>
				<li><a href="class-Format.html">Format</a></li>
				<li><a href="class-Generate_Reports.html">Generate_Reports</a></li>
				<li><a href="class-home.html">home</a></li>
				<li><a href="class-I_Controller.html">I_Controller</a></li>
				<li><a href="class-I_Core_Controller_Rule.html">I_Core_Controller_Rule</a></li>
				<li><a href="class-I_Model.html">I_Model</a></li>
				<li><a href="class-I_Private.html">I_Private</a></li>
				<li><a href="class-I_User.html">I_User</a></li>
				<li><a href="class-Image_Work.html">Image_Work</a></li>
				<li><a href="class-Migration.html">Migration</a></li>
				<li><a href="class-MY_Email.html">MY_Email</a></li>
				<li><a href="class-MY_Image_lib.html">MY_Image_lib</a></li>
				<li><a href="class-MY_Input.html">MY_Input</a></li>
				<li><a href="class-MY_Output.html">MY_Output</a></li>
				<li><a href="class-MY_Session.html">MY_Session</a></li>
				<li><a href="class-OpenBoletoLib.html">OpenBoletoLib</a></li>
				<li><a href="class-payments.html">payments</a></li>
				<li><a href="class-PHP_Mailer.html">PHP_Mailer</a></li>
				<li><a href="class-Public_controller.html">Public_controller</a></li>
				<li class="active"><a href="class-REST_Controller.html">REST_Controller</a></li>
				<li><a href="class-Service.html">Service</a></li>
				<li><a href="class-Tpl_Mail_Send.html">Tpl_Mail_Send</a></li>
				<li><a href="class-Twig.html">Twig</a></li>
				<li><a href="class-Twiggy.html">Twiggy</a></li>
				<li><a href="class-User.html">User</a></li>
				<li><a href="class-User_Controller.html">User_Controller</a></li>
				<li><a href="class-User_Manager.html">User_Manager</a></li>
				<li><a href="class-Users_Online.html">Users_Online</a></li>
				<li><a href="class-Utils.html">Utils</a></li>
			</ul>

			<h3>Interfaces</h3>
			<ul>
				<li><a href="class-IBoleto.html">IBoleto</a></li>
			</ul>




			<h3>Functions</h3>
			<ul>
				<li><a href="function-_disconect.html">_disconect</a></li>
				<li><a href="function-add_css.html">add_css</a></li>
				<li><a href="function-add_image.html">add_image</a></li>
				<li><a href="function-add_js.html">add_js</a></li>
				<li><a href="function-array_merge_recursive_distinct.html">array_merge_recursive_distinct</a></li>
				<li><a href="function-auto_format_data.html">auto_format_data</a></li>
				<li><a href="function-check_fake.html">check_fake</a></li>
				<li><a href="function-clear_cpf_cnpj.html">clear_cpf_cnpj</a></li>
				<li><a href="function-clear_number.html">clear_number</a></li>
				<li><a href="function-compare_date_max.html">compare_date_max</a></li>
				<li><a href="function-dd.html">dd</a></li>
				<li><a href="function-dif_horario.html">dif_horario</a></li>
				<li><a href="function-exceptions_uri.html">exceptions_uri</a></li>
				<li><a href="function-explodeImages.html">explodeImages</a></li>
				<li><a href="function-extract_data.html">extract_data</a></li>
				<li><a href="function-extract_time.html">extract_time</a></li>
				<li><a href="function-first_lote_id.html">first_lote_id</a></li>
				<li><a href="function-footer_init.html">footer_init</a></li>
				<li><a href="function-form_search.html">form_search</a></li>
				<li><a href="function-format_cep.html">format_cep</a></li>
				<li><a href="function-format_cnpj.html">format_cnpj</a></li>
				<li><a href="function-format_cnpj_cpf.html">format_cnpj_cpf</a></li>
				<li><a href="function-format_money_db.html">format_money_db</a></li>
				<li><a href="function-format_number_nfe.html">format_number_nfe</a></li>
				<li><a href="function-format_telefone.html">format_telefone</a></li>
				<li><a href="function-formate_cpf.html">formate_cpf</a></li>
				<li><a href="function-generate_banners.html">generate_banners</a></li>
				<li><a href="function-get_btn_seguir_oferta.html">get_btn_seguir_oferta</a></li>
				<li><a href="function-get_code_response.html">get_code_response</a></li>
				<li><a href="function-get_id_city.html">get_id_city</a></li>
				<li><a href="function-get_id_uf.html">get_id_uf</a></li>
				<li><a href="function-get_label_type_leilao.html">get_label_type_leilao</a></li>
				<li><a href="function-get_money_format.html">get_money_format</a></li>
				<li><a href="function-get_name_month.html">get_name_month</a></li>
				<li><a href="function-get_navbar_footer.html">get_navbar_footer</a></li>
				<li><a href="function-get_navbar_topo.html">get_navbar_topo</a></li>
				<li><a href="function-get_taxa.html">get_taxa</a></li>
				<li><a href="function-get_text_status_leilao.html">get_text_status_leilao</a></li>
				<li><a href="function-get_uf_cidade.html">get_uf_cidade</a></li>
				<li><a href="function-hasAutoLance.html">hasAutoLance</a></li>
				<li><a href="function-header_init.html">header_init</a></li>
				<li><a href="function-isAutoLance.html">isAutoLance</a></li>
				<li><a href="function-isEnabled.html">isEnabled</a></li>
				<li><a href="function-isShowButtonProposta.html">isShowButtonProposta</a></li>
				<li><a href="function-isUnlocked.html">isUnlocked</a></li>
				<li><a href="function-lang_system.html">lang_system</a></li>
				<li><a href="function-last_lote_id.html">last_lote_id</a></li>
				<li><a href="function-mask_email.html">mask_email</a></li>
				<li><a href="function-mask_hour.html">mask_hour</a></li>
				<li><a href="function-money_db.html">money_db</a></li>
				<li><a href="function-name_email_format.html">name_email_format</a></li>
				<li><a href="function-next_lote_id.html">next_lote_id</a></li>
				<li><a href="function-normalize_fields_to_db.html">normalize_fields_to_db</a></li>
				<li><a href="function-prev_lote_id.html">prev_lote_id</a></li>
				<li><a href="function-render_first_image.html">render_first_image</a></li>
				<li><a href="function-render_link_lote.html">render_link_lote</a></li>
				<li><a href="function-render_to_gallery_painel.html">render_to_gallery_painel</a></li>
				<li><a href="function-render_zoom_gallery.html">render_zoom_gallery</a></li>
				<li><a href="function-replace_hour.html">replace_hour</a></li>
				<li><a href="function-str_num_lote_pad.html">str_num_lote_pad</a></li>
				<li><a href="function-subvalSort.html">subvalSort</a></li>
				<li><a href="function-template_lang.html">template_lang</a></li>
				<li><a href="function-to_url_friend.html">to_url_friend</a></li>
				<li><a href="function-url_slug.html">url_slug</a></li>
				<li><a href="function-user_is_habilitado_lance.html">user_is_habilitado_lance</a></li>
				<li><a href="function-userData.html">userData</a></li>
				<li><a href="function-valid_email.html">valid_email</a></li>
				<li><a href="function-validate_cnpj.html">validate_cnpj</a></li>
				<li><a href="function-validate_cpf.html">validate_cpf</a></li>
				<li><a href="function-web_dir.html">web_dir</a></li>
			</ul>
		</div>
	</div>
</div>

<div id="splitter"></div>

<div id="right">
	<div id="rightInner">
<div id="content" class="class">
	<h1>Class REST_Controller</h1>


	<div class="description">
	
<p>CodeIgniter Rest Controller</p>

<p>A fully RESTful server implementation for CodeIgniter using one library, one
config file and one controller.</p>

	</div>

	<dl class="tree well">
		<dd style="padding-left:0px">
CI_Controller
			
			
		</dd>
		<dd style="padding-left:30px">
			<img src="resources/inherit.png" alt="Extended by" />
<b><span>REST_Controller</span></b>			
			
			
		</dd>
	</dl>


	<div>
		<h3>Direct known subclasses</h3>
		<p class="elementList">
			<code><a href="class-Api.html">Api</a></code>, 
			<code><a href="class-Service.html">Service</a></code>
		</p>
	</div>






	<div class="alert alert-info">
		<b>Abstract</b><br />
		
		
		<b>Package:</b> CodeIgniter\Libraries<br />

				<b>Category:</b>
				Libraries<br />
				<b>License:</b>
				<a href="http://philsturgeon.co.uk/code/dbad-license">http://philsturgeon.co.uk/code/dbad-license</a><br />
				<b>Author:</b>
				Phil Sturgeon, Chris Kacerguis<br />
				<b>Version:</b>
				3.0.0-pre<br />
				<b>Link:</b>
				<a href="https://github.com/philsturgeon/codeigniter-restserver">https://github.com/philsturgeon/codeigniter-restserver</a><br />
		<b>Located at</b> <a href="source-class-REST_Controller.html#3-1545" title="Go to source code">REST_Controller.php</a><br />
	</div>



		<h2>Methods summary</h2>
		<table class="summary table table-bordered table-striped" id="methods">
		<tr data-order="early_checks" id="_early_checks">

			<td class="attributes"><code>
				 protected 
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_early_checks">#</a>
			<code><a href="source-class-REST_Controller.html#183-189" title="Go to source code">early_checks</a>( )</code>

			<div class="description short">
				
<p>Developers can extend this class and add a check in here.</p>

			</div>

			<div class="description detailed hidden">
				
<p>Developers can extend this class and add a check in here.</p>








			</div>
			</div></td>
		</tr>
		<tr data-order="__construct" id="___construct">

			<td class="attributes"><code>
				 public 
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#___construct">#</a>
			<code><a href="source-class-REST_Controller.html#191-314" title="Go to source code">__construct</a>( )</code>

			<div class="description short">
				
<p>Constructor function</p>

			</div>

			<div class="description detailed hidden">
				
<p>Constructor function</p>








			</div>
			</div></td>
		</tr>
		<tr data-order="__destruct" id="___destruct">

			<td class="attributes"><code>
				 public 
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#___destruct">#</a>
			<code><a href="source-class-REST_Controller.html#316-331" title="Go to source code">__destruct</a>( )</code>

			<div class="description short">
				
<p>Destructor function</p>

			</div>

			<div class="description detailed hidden">
				
<p>Destructor function</p>






					<h4>Author</h4>
					<div class="list">
							Chris Kacerguis<br />
					</div>


			</div>
			</div></td>
		</tr>
		<tr data-order="_remap" id="__remap">

			<td class="attributes"><code>
				 public 
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#__remap">#</a>
			<code><a href="source-class-REST_Controller.html#333-421" title="Go to source code">_remap</a>( <span>string <var>$object_called</var></span>, <span>array <var>$arguments</var></span> )</code>

			<div class="description short">
				
<p>Remap</p>

			</div>

			<div class="description detailed hidden">
				
<p>Remap</p>

<p>Requests are not made to methods directly, the request will be for an
"object". This simply maps the object and method to the correct Controller
method.</p>



					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$object_called</var></dt>
						<dd><code>string</code><br>$object_called</dd>
						<dt><var>$arguments</var></dt>
						<dd><code>array</code><br>$arguments The arguments passed to the controller method.</dd>
					</dl></div>





			</div>
			</div></td>
		</tr>
		<tr data-order="_fire_method" id="__fire_method">

			<td class="attributes"><code>
				 protected 
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#__fire_method">#</a>
			<code><a href="source-class-REST_Controller.html#423-434" title="Go to source code">_fire_method</a>( <span>array <var>$method</var></span>, <span>array <var>$args</var></span> )</code>

			<div class="description short">
				
<p>Fire Method</p>

			</div>

			<div class="description detailed hidden">
				
<p>Fire Method</p>

<p>Fires the designated controller method with the given arguments.</p>



					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$method</var></dt>
						<dd><code>array</code><br>$method The controller method to fire</dd>
						<dt><var>$args</var></dt>
						<dd><code>array</code><br>$args The arguments to pass to the controller method</dd>
					</dl></div>





			</div>
			</div></td>
		</tr>
		<tr data-order="response" id="_response">

			<td class="attributes"><code>
				 public 
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_response">#</a>
			<code><a href="source-class-REST_Controller.html#436-518" title="Go to source code">response</a>( <span>array <var>$data</var> = <span class="php-keyword1">null</span></span>, <span>null|integer <var>$http_code</var> = <span class="php-keyword1">null</span></span> )</code>

			<div class="description short">
				
<p>Response</p>

			</div>

			<div class="description detailed hidden">
				
<p>Response</p>

<p>Takes pure data and optionally a status code, then creates the response.</p>



					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$data</var></dt>
						<dd><code>array</code><br>$data</dd>
						<dt><var>$http_code</var></dt>
						<dd><code>null|integer</code><br>$http_code</dd>
					</dl></div>





			</div>
			</div></td>
		</tr>
		<tr data-order="_detect_ssl" id="__detect_ssl">

			<td class="attributes"><code>
				 protected 
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#__detect_ssl">#</a>
			<code><a href="source-class-REST_Controller.html#525-528" title="Go to source code">_detect_ssl</a>( )</code>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				







			</div>
			</div></td>
		</tr>
		<tr data-order="_detect_input_format" id="__detect_input_format">

			<td class="attributes"><code>
				 protected 
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#__detect_input_format">#</a>
			<code><a href="source-class-REST_Controller.html#536-556" title="Go to source code">_detect_input_format</a>( )</code>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				







			</div>
			</div></td>
		</tr>
		<tr data-order="_detect_output_format" id="__detect_output_format">

			<td class="attributes"><code>
				 protected 
				string
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#__detect_output_format">#</a>
			<code><a href="source-class-REST_Controller.html#558-637" title="Go to source code">_detect_output_format</a>( )</code>

			<div class="description short">
				
<p>Detect format</p>

			</div>

			<div class="description detailed hidden">
				
<p>Detect format</p>

<p>Detect which format should be used to output the data.</p>




					<h4>Returns</h4>
					<div class="list">
						<code>string</code><br>The output format.<br />
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="_detect_method" id="__detect_method">

			<td class="attributes"><code>
				 protected 
				string
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#__detect_method">#</a>
			<code><a href="source-class-REST_Controller.html#639-668" title="Go to source code">_detect_method</a>( )</code>

			<div class="description short">
				
<p>Detect method</p>

			</div>

			<div class="description detailed hidden">
				
<p>Detect method</p>

<p>Detect which HTTP method is being used</p>




					<h4>Returns</h4>
					<div class="list">
						<code>string</code><br />
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="_detect_api_key" id="__detect_api_key">

			<td class="attributes"><code>
				 protected 
				boolean
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#__detect_api_key">#</a>
			<code><a href="source-class-REST_Controller.html#670-743" title="Go to source code">_detect_api_key</a>( )</code>

			<div class="description short">
				
<p>Detect API Key</p>

			</div>

			<div class="description detailed hidden">
				
<p>Detect API Key</p>

<p>See if the user has provided an API key</p>




					<h4>Returns</h4>
					<div class="list">
						<code>boolean</code><br />
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="_detect_lang" id="__detect_lang">

			<td class="attributes"><code>
				 protected 
				null|string
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#__detect_lang">#</a>
			<code><a href="source-class-REST_Controller.html#745-778" title="Go to source code">_detect_lang</a>( )</code>

			<div class="description short">
				
<p>Detect language(s)</p>

			</div>

			<div class="description detailed hidden">
				
<p>Detect language(s)</p>

<p>What language do they want it in?</p>




					<h4>Returns</h4>
					<div class="list">
						<code>null|string</code><br>The language code.<br />
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="_log_request" id="__log_request">

			<td class="attributes"><code>
				 protected 
				object
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#__log_request">#</a>
			<code><a href="source-class-REST_Controller.html#780-802" title="Go to source code">_log_request</a>( <span>boolean <var>$authorized</var> = <span class="php-keyword1">FALSE</span></span> )</code>

			<div class="description short">
				
<p>Log request</p>

			</div>

			<div class="description detailed hidden">
				
<p>Log request</p>

<p>Record the entry for awesomeness purposes</p>



					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$authorized</var></dt>
						<dd><code>boolean</code><br>$authorized</dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						<code>object</code><br />
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="_check_limit" id="__check_limit">

			<td class="attributes"><code>
				 protected 
				boolean
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#__check_limit">#</a>
			<code><a href="source-class-REST_Controller.html#804-860" title="Go to source code">_check_limit</a>( <span>string <var>$controller_method</var></span> )</code>

			<div class="description short">
				
<p>Limiting requests</p>

			</div>

			<div class="description detailed hidden">
				
<p>Limiting requests</p>

<p>Check if the requests are coming in a tad too fast.</p>



					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$controller_method</var></dt>
						<dd><code>string</code><br>$controller_method The method being called.</dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						<code>boolean</code><br />
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="_auth_override_check" id="__auth_override_check">

			<td class="attributes"><code>
				 protected 
				boolean
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#__auth_override_check">#</a>
			<code><a href="source-class-REST_Controller.html#862-918" title="Go to source code">_auth_override_check</a>( )</code>

			<div class="description short">
				
<p>Auth override check</p>

			</div>

			<div class="description detailed hidden">
				
<p>Auth override check</p>

<p>Check if there is a specific auth type set for the current class/method being
called.</p>




					<h4>Returns</h4>
					<div class="list">
						<code>boolean</code><br />
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="_parse_get" id="__parse_get">

			<td class="attributes"><code>
				 protected 
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#__parse_get">#</a>
			<code><a href="source-class-REST_Controller.html#920-937" title="Go to source code">_parse_get</a>( )</code>

			<div class="description short">
				
<p>Parse GET</p>

			</div>

			<div class="description detailed hidden">
				
<p>Parse GET</p>








			</div>
			</div></td>
		</tr>
		<tr data-order="_parse_post" id="__parse_post">

			<td class="attributes"><code>
				 protected 
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#__parse_post">#</a>
			<code><a href="source-class-REST_Controller.html#939-947" title="Go to source code">_parse_post</a>( )</code>

			<div class="description short">
				
<p>Parse POST</p>

			</div>

			<div class="description detailed hidden">
				
<p>Parse POST</p>








			</div>
			</div></td>
		</tr>
		<tr data-order="_parse_put" id="__parse_put">

			<td class="attributes"><code>
				 protected 
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#__parse_put">#</a>
			<code><a href="source-class-REST_Controller.html#949-966" title="Go to source code">_parse_put</a>( )</code>

			<div class="description short">
				
<p>Parse PUT</p>

			</div>

			<div class="description detailed hidden">
				
<p>Parse PUT</p>








			</div>
			</div></td>
		</tr>
		<tr data-order="_parse_head" id="__parse_head">

			<td class="attributes"><code>
				 protected 
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#__parse_head">#</a>
			<code><a href="source-class-REST_Controller.html#968-978" title="Go to source code">_parse_head</a>( )</code>

			<div class="description short">
				
<p>Parse HEAD</p>

			</div>

			<div class="description detailed hidden">
				
<p>Parse HEAD</p>








			</div>
			</div></td>
		</tr>
		<tr data-order="_parse_options" id="__parse_options">

			<td class="attributes"><code>
				 protected 
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#__parse_options">#</a>
			<code><a href="source-class-REST_Controller.html#980-990" title="Go to source code">_parse_options</a>( )</code>

			<div class="description short">
				
<p>Parse OPTIONS</p>

			</div>

			<div class="description detailed hidden">
				
<p>Parse OPTIONS</p>








			</div>
			</div></td>
		</tr>
		<tr data-order="_parse_patch" id="__parse_patch">

			<td class="attributes"><code>
				 protected 
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#__parse_patch">#</a>
			<code><a href="source-class-REST_Controller.html#992-1008" title="Go to source code">_parse_patch</a>( )</code>

			<div class="description short">
				
<p>Parse PATCH</p>

			</div>

			<div class="description detailed hidden">
				
<p>Parse PATCH</p>








			</div>
			</div></td>
		</tr>
		<tr data-order="_parse_delete" id="__parse_delete">

			<td class="attributes"><code>
				 protected 
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#__parse_delete">#</a>
			<code><a href="source-class-REST_Controller.html#1010-1017" title="Go to source code">_parse_delete</a>( )</code>

			<div class="description short">
				
<p>Parse DELETE</p>

			</div>

			<div class="description detailed hidden">
				
<p>Parse DELETE</p>








			</div>
			</div></td>
		</tr>
		<tr data-order="get" id="_get">

			<td class="attributes"><code>
				 public 
				string
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_get">#</a>
			<code><a href="source-class-REST_Controller.html#1021-1036" title="Go to source code">get</a>( <span>string <var>$key</var> = <span class="php-keyword1">NULL</span></span>, <span>boolean <var>$xss_clean</var> = <span class="php-keyword1">TRUE</span></span> )</code>

			<div class="description short">
				
<p>Retrieve a value from the GET request arguments.</p>

			</div>

			<div class="description detailed hidden">
				
<p>Retrieve a value from the GET request arguments.</p>



					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$key</var></dt>
						<dd><code>string</code><br>$key The key for the GET request argument to retrieve</dd>
						<dt><var>$xss_clean</var></dt>
						<dd><code>boolean</code><br>$xss_clean Whether the value should be XSS cleaned or not.</dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						<code>string</code><br>The GET argument value.<br />
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="options" id="_options">

			<td class="attributes"><code>
				 public 
				string
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_options">#</a>
			<code><a href="source-class-REST_Controller.html#1038-1052" title="Go to source code">options</a>( <span>string <var>$key</var> = <span class="php-keyword1">NULL</span></span>, <span>boolean <var>$xss_clean</var> = <span class="php-keyword1">TRUE</span></span> )</code>

			<div class="description short">
				
<p>This function retrieves a values from the OPTIONS request arguments</p>

			</div>

			<div class="description detailed hidden">
				
<p>This function retrieves a values from the OPTIONS request arguments</p>



					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$key</var></dt>
						<dd><code>string</code><br>$key The OPTIONS/GET argument key</dd>
						<dt><var>$xss_clean</var></dt>
						<dd><code>boolean</code><br>$xss_clean Whether the value should be XSS cleaned or not</dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						<code>string</code><br>The OPTIONS/GET argument value<br />
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="head" id="_head">

			<td class="attributes"><code>
				 public 
				string
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_head">#</a>
			<code><a href="source-class-REST_Controller.html#1054-1068" title="Go to source code">head</a>( <span>string <var>$key</var> = <span class="php-keyword1">NULL</span></span>, <span>boolean <var>$xss_clean</var> = <span class="php-keyword1">TRUE</span></span> )</code>

			<div class="description short">
				
<p>This function retrieves a values from the HEAD request arguments</p>

			</div>

			<div class="description detailed hidden">
				
<p>This function retrieves a values from the HEAD request arguments</p>



					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$key</var></dt>
						<dd><code>string</code><br>$key The HEAD/GET argument key</dd>
						<dt><var>$xss_clean</var></dt>
						<dd><code>boolean</code><br>$xss_clean Whether the value should be XSS cleaned or not</dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						<code>string</code><br>The HEAD/GET argument value<br />
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="post" id="_post">

			<td class="attributes"><code>
				 public 
				string
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_post">#</a>
			<code><a href="source-class-REST_Controller.html#1070-1085" title="Go to source code">post</a>( <span>string <var>$key</var> = <span class="php-keyword1">NULL</span></span>, <span>boolean <var>$xss_clean</var> = <span class="php-keyword1">TRUE</span></span> )</code>

			<div class="description short">
				
<p>Retrieve a value from the POST request arguments.</p>

			</div>

			<div class="description detailed hidden">
				
<p>Retrieve a value from the POST request arguments.</p>



					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$key</var></dt>
						<dd><code>string</code><br>$key The key for the POST request argument to retrieve</dd>
						<dt><var>$xss_clean</var></dt>
						<dd><code>boolean</code><br>$xss_clean Whether the value should be XSS cleaned or not.</dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						<code>string</code><br>The POST argument value.<br />
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="put" id="_put">

			<td class="attributes"><code>
				 public 
				string
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_put">#</a>
			<code><a href="source-class-REST_Controller.html#1087-1102" title="Go to source code">put</a>( <span>string <var>$key</var> = <span class="php-keyword1">NULL</span></span>, <span>boolean <var>$xss_clean</var> = <span class="php-keyword1">TRUE</span></span> )</code>

			<div class="description short">
				
<p>Retrieve a value from the PUT request arguments.</p>

			</div>

			<div class="description detailed hidden">
				
<p>Retrieve a value from the PUT request arguments.</p>



					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$key</var></dt>
						<dd><code>string</code><br>$key The key for the PUT request argument to retrieve</dd>
						<dt><var>$xss_clean</var></dt>
						<dd><code>boolean</code><br>$xss_clean Whether the value should be XSS cleaned or not.</dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						<code>string</code><br>The PUT argument value.<br />
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="delete" id="_delete">

			<td class="attributes"><code>
				 public 
				string
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_delete">#</a>
			<code><a href="source-class-REST_Controller.html#1104-1119" title="Go to source code">delete</a>( <span>string <var>$key</var> = <span class="php-keyword1">NULL</span></span>, <span>boolean <var>$xss_clean</var> = <span class="php-keyword1">TRUE</span></span> )</code>

			<div class="description short">
				
<p>Retrieve a value from the DELETE request arguments.</p>

			</div>

			<div class="description detailed hidden">
				
<p>Retrieve a value from the DELETE request arguments.</p>



					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$key</var></dt>
						<dd><code>string</code><br>$key The key for the DELETE request argument to retrieve</dd>
						<dt><var>$xss_clean</var></dt>
						<dd><code>boolean</code><br>$xss_clean Whether the value should be XSS cleaned or not.</dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						<code>string</code><br>The DELETE argument value.<br />
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="patch" id="_patch">

			<td class="attributes"><code>
				 public 
				string
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_patch">#</a>
			<code><a href="source-class-REST_Controller.html#1121-1136" title="Go to source code">patch</a>( <span>string <var>$key</var> = <span class="php-keyword1">NULL</span></span>, <span>boolean <var>$xss_clean</var> = <span class="php-keyword1">TRUE</span></span> )</code>

			<div class="description short">
				
<p>Retrieve a value from the PATCH request arguments.</p>

			</div>

			<div class="description detailed hidden">
				
<p>Retrieve a value from the PATCH request arguments.</p>



					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$key</var></dt>
						<dd><code>string</code><br>$key The key for the PATCH request argument to retrieve</dd>
						<dt><var>$xss_clean</var></dt>
						<dd><code>boolean</code><br>$xss_clean Whether the value should be XSS cleaned or not.</dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						<code>string</code><br>The PATCH argument value.<br />
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="_xss_clean" id="__xss_clean">

			<td class="attributes"><code>
				 protected 
				string
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#__xss_clean">#</a>
			<code><a href="source-class-REST_Controller.html#1138-1153" title="Go to source code">_xss_clean</a>( <span>string <var>$val</var></span>, <span>boolean <var>$process</var></span> )</code>

			<div class="description short">
				
<p>Process to protect from XSS attacks.</p>

			</div>

			<div class="description detailed hidden">
				
<p>Process to protect from XSS attacks.</p>



					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$val</var></dt>
						<dd><code>string</code><br>$val The input.</dd>
						<dt><var>$process</var></dt>
						<dd><code>boolean</code><br>$process Do clean or note the input.</dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						<code>string</code><br />
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="validation_errors" id="_validation_errors">

			<td class="attributes"><code>
				 public 
				array
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#_validation_errors">#</a>
			<code><a href="source-class-REST_Controller.html#1155-1165" title="Go to source code">validation_errors</a>( )</code>

			<div class="description short">
				
<p>Retrieve the validation errors.</p>

			</div>

			<div class="description detailed hidden">
				
<p>Retrieve the validation errors.</p>




					<h4>Returns</h4>
					<div class="list">
						<code>array</code><br />
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="_perform_ldap_auth" id="__perform_ldap_auth">

			<td class="attributes"><code>
				 protected 
				boolean
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#__perform_ldap_auth">#</a>
			<code><a href="source-class-REST_Controller.html#1169-1255" title="Go to source code">_perform_ldap_auth</a>( <span>string <var>$username</var> = <span class="php-quote">''</span></span>, <span>string <var>$password</var> = <span class="php-keyword1">NULL</span></span> )</code>

			<div class="description short">
				
<p>Perform LDAP Authentication</p>

			</div>

			<div class="description detailed hidden">
				
<p>Perform LDAP Authentication</p>



					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$username</var></dt>
						<dd><code>string</code><br>$username The username to validate</dd>
						<dt><var>$password</var></dt>
						<dd><code>string</code><br>$password The password to validate</dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						<code>boolean</code><br />
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="_perform_library_auth" id="__perform_library_auth">

			<td class="attributes"><code>
				 protected 
				boolean
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#__perform_library_auth">#</a>
			<code><a href="source-class-REST_Controller.html#1257-1289" title="Go to source code">_perform_library_auth</a>( <span>string <var>$username</var> = <span class="php-quote">''</span></span>, <span>string <var>$password</var> = <span class="php-keyword1">NULL</span></span> )</code>

			<div class="description short">
				
<p>Perform Library Authentication - Override this function to change the way the
library is called</p>

			</div>

			<div class="description detailed hidden">
				
<p>Perform Library Authentication - Override this function to change the way the
library is called</p>



					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$username</var></dt>
						<dd><code>string</code><br>$username The username to validate</dd>
						<dt><var>$password</var></dt>
						<dd><code>string</code><br>$password The password to validate</dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						<code>boolean</code><br />
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="_check_login" id="__check_login">

			<td class="attributes"><code>
				 protected 
				boolean
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#__check_login">#</a>
			<code><a href="source-class-REST_Controller.html#1291-1333" title="Go to source code">_check_login</a>( <span>string <var>$username</var> = <span class="php-quote">''</span></span>, <span>string <var>$password</var> = <span class="php-keyword1">NULL</span></span> )</code>

			<div class="description short">
				
<p>Check if the user is logged in.</p>

			</div>

			<div class="description detailed hidden">
				
<p>Check if the user is logged in.</p>



					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$username</var></dt>
						<dd><code>string</code><br>$username The user's name</dd>
						<dt><var>$password</var></dt>
						<dd><code>string</code><br>$password The user's password</dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						<code>boolean</code><br />
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="_prepare_basic_auth" id="__prepare_basic_auth">

			<td class="attributes"><code>
				 protected 
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#__prepare_basic_auth">#</a>
			<code><a href="source-class-REST_Controller.html#1335-1369" title="Go to source code">_prepare_basic_auth</a>( )</code>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				







			</div>
			</div></td>
		</tr>
		<tr data-order="_prepare_digest_auth" id="__prepare_digest_auth">

			<td class="attributes"><code>
				 protected 
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#__prepare_digest_auth">#</a>
			<code><a href="source-class-REST_Controller.html#1371-1427" title="Go to source code">_prepare_digest_auth</a>( )</code>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				







			</div>
			</div></td>
		</tr>
		<tr data-order="_check_blacklist_auth" id="__check_blacklist_auth">

			<td class="attributes"><code>
				 protected 
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#__check_blacklist_auth">#</a>
			<code><a href="source-class-REST_Controller.html#1429-1445" title="Go to source code">_check_blacklist_auth</a>( )</code>

			<div class="description short">
				
<p>Check if the client's ip is in the 'rest_ip_blacklist' config</p>

			</div>

			<div class="description detailed hidden">
				
<p>Check if the client's ip is in the 'rest_ip_blacklist' config</p>








			</div>
			</div></td>
		</tr>
		<tr data-order="_check_whitelist_auth" id="__check_whitelist_auth">

			<td class="attributes"><code>
				 protected 
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#__check_whitelist_auth">#</a>
			<code><a href="source-class-REST_Controller.html#1447-1465" title="Go to source code">_check_whitelist_auth</a>( )</code>

			<div class="description short">
				
<p>Check if the client's ip is in the 'rest_ip_whitelist' config</p>

			</div>

			<div class="description detailed hidden">
				
<p>Check if the client's ip is in the 'rest_ip_whitelist' config</p>








			</div>
			</div></td>
		</tr>
		<tr data-order="_force_login" id="__force_login">

			<td class="attributes"><code>
				 protected 
				
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#__force_login">#</a>
			<code><a href="source-class-REST_Controller.html#1467-1484" title="Go to source code">_force_login</a>( <span>string <var>$nonce</var> = <span class="php-quote">''</span></span> )</code>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				


					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$nonce</var></dt>
						<dd><code>string</code><br>$nonce</dd>
					</dl></div>





			</div>
			</div></td>
		</tr>
		<tr data-order="_force_loopable" id="__force_loopable">

			<td class="attributes"><code>
				 protected 
				array
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#__force_loopable">#</a>
			<code><a href="source-class-REST_Controller.html#1486-1501" title="Go to source code">_force_loopable</a>( <span>object|array <var>$data</var></span> )</code>

			<div class="description short">
				
<p>Force it into an array</p>

			</div>

			<div class="description detailed hidden">
				
<p>Force it into an array</p>



					<h4>Parameters</h4>
					<div class="list"><dl>
						<dt><var>$data</var></dt>
						<dd><code>object|array</code><br>$data</dd>
					</dl></div>

					<h4>Returns</h4>
					<div class="list">
						<code>array</code><br />
					</div>




			</div>
			</div></td>
		</tr>
		<tr data-order="_log_access_time" id="__log_access_time">

			<td class="attributes"><code>
				 protected 
				boolean
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#__log_access_time">#</a>
			<code><a href="source-class-REST_Controller.html#1504-1514" title="Go to source code">_log_access_time</a>( )</code>

			<div class="description short">
				
<p>updates the log with the access time</p>

			</div>

			<div class="description detailed hidden">
				
<p>updates the log with the access time</p>




					<h4>Returns</h4>
					<div class="list">
						<code>boolean</code><br />
					</div>


					<h4>Author</h4>
					<div class="list">
							Chris Kacerguis<br />
					</div>


			</div>
			</div></td>
		</tr>
		<tr data-order="_check_access" id="__check_access">

			<td class="attributes"><code>
				 protected 
				boolean
				
				</code>
			</td>

			<td class="name"><div>
			<a class="anchor" href="#__check_access">#</a>
			<code><a href="source-class-REST_Controller.html#1516-1543" title="Go to source code">_check_access</a>( )</code>

			<div class="description short">
				
<p>Check to see if the API key has access to the controller and methods</p>

			</div>

			<div class="description detailed hidden">
				
<p>Check to see if the API key has access to the controller and methods</p>




					<h4>Returns</h4>
					<div class="list">
						<code>boolean</code><br />
					</div>




			</div>
			</div></td>
		</tr>
		</table>



		<h3>Magic methods summary</h3>








		<h2>Properties summary</h2>
		<table class="summary table table-bordered table-striped" id="properties">
		<tr data-order="rest_format" id="$rest_format">
			<td class="attributes"><code>
				protected  
				string|null
			</code></td>

			<td class="name">
					<a href="source-class-REST_Controller.html#18-25" title="Go to source code"><var>$rest_format</var></a>
			</td>
			<td class="description"><div>
				<a href="#$rest_format" class="anchor">#</a>

				<div class="description short">
					
<p>This defines the rest format.</p>

				</div>

				<div class="description detailed hidden">
					
<p>This defines the rest format.</p>

<p>Must be overridden it in a controller so that it is set.</p>


				</div>
			</div></td>
		</tr>
		<tr data-order="methods" id="$methods">
			<td class="attributes"><code>
				protected  
				array
			</code></td>

			<td class="name">
					<a href="source-class-REST_Controller.html#27-32" title="Go to source code"><var>$methods</var></a>
			</td>
			<td class="description"><div>
				<a href="#$methods" class="anchor">#</a>

				<div class="description short">
					
<p>Defines the list of method properties such as limit, log and level</p>

				</div>

				<div class="description detailed hidden">
					
<p>Defines the list of method properties such as limit, log and level</p>


				</div>
			</div></td>
		</tr>
		<tr data-order="allowed_http_methods" id="$allowed_http_methods">
			<td class="attributes"><code>
				protected  
				array
			</code></td>

			<td class="name">
					<a href="source-class-REST_Controller.html#34-39" title="Go to source code"><var>$allowed_http_methods</var></a>
			</td>
			<td class="description"><div>
				<a href="#$allowed_http_methods" class="anchor">#</a>

				<div class="description short">
					
<p>List of allowed HTTP methods</p>

				</div>

				<div class="description detailed hidden">
					
<p>List of allowed HTTP methods</p>


				</div>
			</div></td>
		</tr>
		<tr data-order="request" id="$request">
			<td class="attributes"><code>
				protected  
				object
			</code></td>

			<td class="name">
					<a href="source-class-REST_Controller.html#41-47" title="Go to source code"><var>$request</var></a>
			</td>
			<td class="description"><div>
				<a href="#$request" class="anchor">#</a>

				<div class="description short">
					
<p>General request data and information. Stores accept, language, body, headers,
etc.</p>

				</div>

				<div class="description detailed hidden">
					
<p>General request data and information. Stores accept, language, body, headers,
etc.</p>


				</div>
			</div></td>
		</tr>
		<tr data-order="response" id="$response">
			<td class="attributes"><code>
				protected  
				object
			</code></td>

			<td class="name">
					<a href="source-class-REST_Controller.html#49-54" title="Go to source code"><var>$response</var></a>
			</td>
			<td class="description"><div>
				<a href="#$response" class="anchor">#</a>

				<div class="description short">
					
<p>What is gonna happen in output?</p>

				</div>

				<div class="description detailed hidden">
					
<p>What is gonna happen in output?</p>


				</div>
			</div></td>
		</tr>
		<tr data-order="rest" id="$rest">
			<td class="attributes"><code>
				protected  
				object
			</code></td>

			<td class="name">
					<a href="source-class-REST_Controller.html#56-61" title="Go to source code"><var>$rest</var></a>
			</td>
			<td class="description"><div>
				<a href="#$rest" class="anchor">#</a>

				<div class="description short">
					
<p>Stores DB, keys, key level, etc</p>

				</div>

				<div class="description detailed hidden">
					
<p>Stores DB, keys, key level, etc</p>


				</div>
			</div></td>
		</tr>
		<tr data-order="_get_args" id="$_get_args">
			<td class="attributes"><code>
				protected  
				array
			</code></td>

			<td class="name">
					<a href="source-class-REST_Controller.html#63-68" title="Go to source code"><var>$_get_args</var></a>
			</td>
			<td class="description"><div>
				<a href="#$_get_args" class="anchor">#</a>

				<div class="description short">
					
<p>The arguments for the GET request method</p>

				</div>

				<div class="description detailed hidden">
					
<p>The arguments for the GET request method</p>


				</div>
			</div></td>
		</tr>
		<tr data-order="_post_args" id="$_post_args">
			<td class="attributes"><code>
				protected  
				array
			</code></td>

			<td class="name">
					<a href="source-class-REST_Controller.html#70-75" title="Go to source code"><var>$_post_args</var></a>
			</td>
			<td class="description"><div>
				<a href="#$_post_args" class="anchor">#</a>

				<div class="description short">
					
<p>The arguments for the POST request method</p>

				</div>

				<div class="description detailed hidden">
					
<p>The arguments for the POST request method</p>


				</div>
			</div></td>
		</tr>
		<tr data-order="_insert_id" id="$_insert_id">
			<td class="attributes"><code>
				protected  
				string
			</code></td>

			<td class="name">
					<a href="source-class-REST_Controller.html#77-82" title="Go to source code"><var>$_insert_id</var></a>
			</td>
			<td class="description"><div>
				<a href="#$_insert_id" class="anchor">#</a>

				<div class="description short">
					
<p>The insert_id of the log entry (if we have one)</p>

				</div>

				<div class="description detailed hidden">
					
<p>The insert_id of the log entry (if we have one)</p>


				</div>
			</div></td>
		</tr>
		<tr data-order="_put_args" id="$_put_args">
			<td class="attributes"><code>
				protected  
				array
			</code></td>

			<td class="name">
					<a href="source-class-REST_Controller.html#84-89" title="Go to source code"><var>$_put_args</var></a>
			</td>
			<td class="description"><div>
				<a href="#$_put_args" class="anchor">#</a>

				<div class="description short">
					
<p>The arguments for the PUT request method</p>

				</div>

				<div class="description detailed hidden">
					
<p>The arguments for the PUT request method</p>


				</div>
			</div></td>
		</tr>
		<tr data-order="_delete_args" id="$_delete_args">
			<td class="attributes"><code>
				protected  
				array
			</code></td>

			<td class="name">
					<a href="source-class-REST_Controller.html#91-96" title="Go to source code"><var>$_delete_args</var></a>
			</td>
			<td class="description"><div>
				<a href="#$_delete_args" class="anchor">#</a>

				<div class="description short">
					
<p>The arguments for the DELETE request method</p>

				</div>

				<div class="description detailed hidden">
					
<p>The arguments for the DELETE request method</p>


				</div>
			</div></td>
		</tr>
		<tr data-order="_patch_args" id="$_patch_args">
			<td class="attributes"><code>
				protected  
				array
			</code></td>

			<td class="name">
					<a href="source-class-REST_Controller.html#98-103" title="Go to source code"><var>$_patch_args</var></a>
			</td>
			<td class="description"><div>
				<a href="#$_patch_args" class="anchor">#</a>

				<div class="description short">
					
<p>The arguments for the PATCH request method</p>

				</div>

				<div class="description detailed hidden">
					
<p>The arguments for the PATCH request method</p>


				</div>
			</div></td>
		</tr>
		<tr data-order="_head_args" id="$_head_args">
			<td class="attributes"><code>
				protected  
				array
			</code></td>

			<td class="name">
					<a href="source-class-REST_Controller.html#105-110" title="Go to source code"><var>$_head_args</var></a>
			</td>
			<td class="description"><div>
				<a href="#$_head_args" class="anchor">#</a>

				<div class="description short">
					
<p>The arguments for the HEAD request method</p>

				</div>

				<div class="description detailed hidden">
					
<p>The arguments for the HEAD request method</p>


				</div>
			</div></td>
		</tr>
		<tr data-order="_options_args" id="$_options_args">
			<td class="attributes"><code>
				protected  
				array
			</code></td>

			<td class="name">
					<a href="source-class-REST_Controller.html#112-117" title="Go to source code"><var>$_options_args</var></a>
			</td>
			<td class="description"><div>
				<a href="#$_options_args" class="anchor">#</a>

				<div class="description short">
					
<p>The arguments for the OPTIONS request method</p>

				</div>

				<div class="description detailed hidden">
					
<p>The arguments for the OPTIONS request method</p>


				</div>
			</div></td>
		</tr>
		<tr data-order="_args" id="$_args">
			<td class="attributes"><code>
				protected  
				array
			</code></td>

			<td class="name">
					<a href="source-class-REST_Controller.html#119-124" title="Go to source code"><var>$_args</var></a>
			</td>
			<td class="description"><div>
				<a href="#$_args" class="anchor">#</a>

				<div class="description short">
					
<p>The arguments from GET, POST, PUT, DELETE request methods combined.</p>

				</div>

				<div class="description detailed hidden">
					
<p>The arguments from GET, POST, PUT, DELETE request methods combined.</p>


				</div>
			</div></td>
		</tr>
		<tr data-order="_allow" id="$_allow">
			<td class="attributes"><code>
				protected  
				boolean
			</code></td>

			<td class="name">
					<a href="source-class-REST_Controller.html#126-131" title="Go to source code"><var>$_allow</var></a>
			</td>
			<td class="description"><div>
				<a href="#$_allow" class="anchor">#</a>

				<div class="description short">
					
<p>If the request is allowed based on the API key provided.</p>

				</div>

				<div class="description detailed hidden">
					
<p>If the request is allowed based on the API key provided.</p>


				</div>
			</div></td>
		</tr>
		<tr data-order="_zlib_oc" id="$_zlib_oc">
			<td class="attributes"><code>
				protected  
				boolean
			</code></td>

			<td class="name">
					<a href="source-class-REST_Controller.html#133-138" title="Go to source code"><var>$_zlib_oc</var></a>
			</td>
			<td class="description"><div>
				<a href="#$_zlib_oc" class="anchor">#</a>

				<div class="description short">
					
<p>Determines if output compression is enabled</p>

				</div>

				<div class="description detailed hidden">
					
<p>Determines if output compression is enabled</p>


				</div>
			</div></td>
		</tr>
		<tr data-order="_user_ldap_dn" id="$_user_ldap_dn">
			<td class="attributes"><code>
				protected  
				string
			</code></td>

			<td class="name">
					<a href="source-class-REST_Controller.html#140-145" title="Go to source code"><var>$_user_ldap_dn</var></a>
			</td>
			<td class="description"><div>
				<a href="#$_user_ldap_dn" class="anchor">#</a>

				<div class="description short">
					
<p>The LDAP Distinguished Name of the User post authentication</p>

				</div>

				<div class="description detailed hidden">
					
<p>The LDAP Distinguished Name of the User post authentication</p>


				</div>
			</div></td>
		</tr>
		<tr data-order="_start_rtime" id="$_start_rtime">
			<td class="attributes"><code>
				protected  
				string
			</code></td>

			<td class="name">
					<a href="source-class-REST_Controller.html#147-152" title="Go to source code"><var>$_start_rtime</var></a>
			</td>
			<td class="description"><div>
				<a href="#$_start_rtime" class="anchor">#</a>

				<div class="description short">
					
<p>The start of the response time from the server</p>

				</div>

				<div class="description detailed hidden">
					
<p>The start of the response time from the server</p>


				</div>
			</div></td>
		</tr>
		<tr data-order="_end_rtime" id="$_end_rtime">
			<td class="attributes"><code>
				protected  
				string
			</code></td>

			<td class="name">
					<a href="source-class-REST_Controller.html#154-159" title="Go to source code"><var>$_end_rtime</var></a>
			</td>
			<td class="description"><div>
				<a href="#$_end_rtime" class="anchor">#</a>

				<div class="description short">
					
<p>The end of the response time from the server</p>

				</div>

				<div class="description detailed hidden">
					
<p>The end of the response time from the server</p>


				</div>
			</div></td>
		</tr>
		<tr data-order="_supported_formats" id="$_supported_formats">
			<td class="attributes"><code>
				protected  
				array
			</code></td>

			<td class="name">
					<a href="source-class-REST_Controller.html#161-174" title="Go to source code"><var>$_supported_formats</var></a>
			</td>
			<td class="description"><div>
				<a href="#$_supported_formats" class="anchor">#</a>

				<div class="description short">
					
<p>List all supported methods, the first will be the default format</p>

				</div>

				<div class="description detailed hidden">
					
<p>List all supported methods, the first will be the default format</p>


				</div>
			</div></td>
		</tr>
		<tr data-order="_apiuser" id="$_apiuser">
			<td class="attributes"><code>
				protected  
				object
			</code></td>

			<td class="name">
					<a href="source-class-REST_Controller.html#176-181" title="Go to source code"><var>$_apiuser</var></a>
			</td>
			<td class="description"><div>
				<a href="#$_apiuser" class="anchor">#</a>

				<div class="description short">
					
<p>Information about the current API user</p>

				</div>

				<div class="description detailed hidden">
					
<p>Information about the current API user</p>


				</div>
			</div></td>
		</tr>
		</table>






</div>
	</div>

	<div id="footer">
		DOCUMENTAÇÃO DE SOFTWARE API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
	</div>
</div>
</body>
</html>
